QuickTime 3 Reference

Previous | Chapter Top | Chapter Contents | Next

Contents of a Vector Data Stream

The types of atoms that can be included in a vector data stream are summarized in the following sections. For complete descriptions of these atoms, see "Vector Atom Types" .

Required Atoms

A QuickTime vector data stream must contain at least two types of atoms:

Each path can contain up to 32767 contours, each of which may contain up to 32767 points. Each point may be located on or off the curve, with the curve describing a quadratic Bézier. For an overview of paths, see "Path Shapes" .

There can be only one kCurveEndAtom atom in a vector data stream, and it must be the last atom in the stream.

Atoms that Specify Path Attributes

Atoms that specify path attributes are optional. If the QuickTime vector codec has not found an atom in the data stream for a particular path attribute, it uses the default value for that attribute when drawing paths. If it does find an atom for a particular attribute, it uses its value when drawing subsequent paths in the data stream until the value is replaced by another atom of the same type or the end of the data stream is reached.

With one exception, any atom that specifies a path attribute can appear anywhere in a vector data stream, and there can be any number of atoms of the same type. The exception is the kCurveMinimumDepthAtom atom that specifies the minimum bit depth used to draw paths: there can be at most one kCurveMinimumDepthAtom atom in a vector data stream, and if included it must be the first atom in the stream.

These are the atoms that specify path attributes:


© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next